package com.b2b.service.impl;

import com.b2b.mapper.RequirementOfMaterialMapper;
import com.b2b.model.entity.RequirementOfMaterial;
import com.b2b.service.RequirementOfMaterialService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class RequirementOfMaterialServiceImpl extends BaseServiceImpl<RequirementOfMaterial> implements RequirementOfMaterialService {
    @Autowired
    RequirementOfMaterialMapper requirementOfMaterialMapper;
    @Override
    public List<RequirementOfMaterial> selectRequirementOfMaterialById(Integer requirementId) {
        return requirementOfMaterialMapper.selectRequirementOfMaterialById(requirementId);
    }
}
